SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '58e27335dfab0f2e0a2867bf804beaa7feb2758179498d4d4403b96ec4d5d701' 
  AND token = '7lrpP8KQYA8WQrJ9ZRsWsgiy+hZd5rpXx3lTg0Scp7Q=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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