SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '27c5e04a083a64f55bb6b7325ee4721dd4d4fd60fea97b4cbd4a1c89134c5ef8' 
  AND token = 'D6zXsf0yyJaQC1u1PjiN7MHq4cxKOT1LGAXRAMrw0r0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}